<%@ page import="student_system.bean.student" %><%--
  Created by IntelliJ IDEA.
  User: 李逸龙
  Date: 2022/5/18
  Time: 9:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Title</title>
</head>
<body>

<form action="/alter2" method="post">
    <table>
        <%
            student s=(student)request.getAttribute("lists");
            System.out.println(s);
        %>
<%--        <%=s.getSno()%>--%>
        <tr>
            <td>学号</td>
            <td><input type="text" name="sno" value="<%=s.getSno()%>"></td>
        </tr>
        <tr>
            <td>姓名</td>
        <td><input type="text" name="sname" value="<%=s.getSname()%>"></td>
        </tr>
        <tr>
        <td>性别</td>
        <td><input type="text" name="sex" value="<%=s.getSex()%>"></td>
    </tr>
        <tr>
        <td>出生日期</td>
        <td><input type="text" name="birthday" value="<%=s.getBirthday()%>"></td>
    </tr>
        <tr>
        <td>系部编号</td>
        <td><input type="text" name="dno" value="<%=s.getDno()%>"></td>
    </tr>
        <tr><td colspan="2">
            <button type="submit" >提交</button>
        </td> </tr>
    </table>
</form>
</body>
</html>
